package com.zzg.lucene.condition;


import org.junit.Before;
import org.junit.Test;

public class TermRangeSearch {
	private SearcherUtil util;
    
    @Before
    public void init(){
        util = new SearcherUtil();
    }
    
    @Test
    public void searchByTermRang(){
        //util.searchByTermRang("id", "1", "3", 10);
        //util.searchByTermRang("attach", "1", "3", 10);数字查询不到
        util.searchByTermRang("name", "a", "j", 10);//注意：这里的范围区分大小写
    }

}
